package com.xln.furn.DTO;

/**
 * 登录表单数据传输对象
 */
public class LoginFormDTO {
    
    /**
     * 用户名
     */
    private String name;
    
    /**
     * 密码
     */
    private String password;
    
    // 无参构造函数
    public LoginFormDTO() {
    }
    
    // 全参构造函数
    public LoginFormDTO(String name, String password) {
        this.name = name;
        this.password = password;
    }
    
    // getter和setter方法
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public String getPassword() {
        return password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }
    
    @Override
    public String toString() {
        return "LoginFormDTO{" +
                "name='" + name + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
